home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 17
/
AMIGAplus Sonderheft 17 (1999)(ICP)(DE)[!].iso
/
Rexx
/
testport.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-06-10
|
564b
|
38 lines
/* Test port */
if ~show('p','rexxsupport.library') then call addlib('rexxsupport.library',0,-30,0)
address 'EvenMore.1'
options results
"GETPATHNAME"; say 'Path='RESULT
"GETFILENAME"; say 'File='RESULT
"GETFULLPATH"; say 'Full path='RESULT
"GETFILESIZE"; say 'Filesize='RESULT
"GETLINE 2"; say 'Line 2='RESULT
"GETFONT"; say 'Font='RESULT
"POSWINDOW 2"
delay(50)
"POSWINDOW 1"
delay(50)
"SETFONT Xen/8"
delay(50)
"APPIFY 1"
delay(50)
"OCCURANCE e"
say 'E occurs 'RESULT' times'
"CLOSE"
delay(50)
"APPIFY 0"
delay(200)
"QUIT"
exit